package com.cn.jinl.api;

import com.cn.jinl.domain.*;
import com.cn.jinl.utils.QueryForm;

import java.util.List;
import java.util.Map;

public interface IProductStorageOutService {

    List<ProductStorageOutVo> getProductStorageOutList(QueryForm queryForm)throws Exception;

    List<ProductStorageOutVo> getProductStorageOutListMX(QueryForm queryForm)throws Exception;

    List<ProductStorageOrderVo> getProductStorageByOrderId(String orderId)throws Exception;
    List<ProductStorageOutRelate> getProductStorageOutRelateListByOrderId(String orderId)throws Exception;

    Map<String,Integer> getProductStorageRelateCountMap(String storageOutId)throws Exception;

    String addProductStorageOut(ProductStorageOut productStorageOut)throws Exception;

    String addBatchProductStorageOut(List<OrderOutInfo> orderOutInfos)throws Exception;

    String updateProductStorageOut(ProductStorageOut productStorageOut)throws Exception;


    String addBatchProductStorageRelates(StorageOutVo storageOutVo)throws Exception;

    int getProductOutingStorage()throws Exception;

    String cancel(QueryForm queryForm)throws Exception;

    String addBatchProductStorageRelates1(StorageOutVo storageOutVo)throws Exception;
}
